package com.example.administrator.dagger2test.appmodule;

import com.example.administrator.dagger2test.MainActivity;

import dagger.Component;

/**
 *  子的Component
 * Created by MH on 2016/7/18.
 */
//@PerActivity  // ActivityMoudule 中使用了该标记
@Component(dependencies  = AppComponent.class,modules = ActivityMoudule.class)
public interface ActivityComponent {
    // 注入
    void inject(MainActivity activity);
    void inject2(MainActivity activity);
}
